import request from '@/utils/request'

// 查询学院高基列表
export function listBaseCollege(query) {
  return request({
    url: '/statistics/baseCollege/list',
    method: 'get',
    params: query
  })
}

// 查询学院高基详细
export function getBaseCollege(id) {
  return request({
    url: '/statistics/baseCollege/' + id,
    method: 'get'
  })
}

// 新增学院高基
export function addBaseCollege(data) {
  return request({
    url: '/statistics/baseCollege',
    method: 'post',
    data: data
  })
}

// 修改学院高基
export function updateBaseCollege(data) {
  return request({
    url: '/statistics/baseCollege',
    method: 'put',
    data: data
  })
}

// 删除学院高基
export function delBaseCollege(id) {
  return request({
    url: '/statistics/baseCollege/' + id,
    method: 'delete'
  })
}

// 导出学院高基
export function exportBaseCollege(query) {
  return request({
    url: '/statistics/baseCollege/export',
    method: 'get',
    params: query
  })
}

// 查询学院高基详细
export function getBaseCollegeDetail(id) {
  return request({
    url: '/statistics/baseCollege/detail/' + id,
    method: 'get'
  })
}

// 通过校验
export function passCheck(id) {
  return request({
    url: '/statistics/baseCollege/passCheck/' + id,
    method: 'put'
  })
}

// 转汇总表
export function toSummary(id) {
  return request({
    url: '/statistics/baseCollege/toSummary/' + id,
    method: 'put'
  })
}